﻿#include "Framework/Application.h"
#include "Widgets/Windows/MessageBox.h"
#include "Object/NewObject.h"
int main(int argc, char* argv[])
{
   auto App=NewObject<RApplication>();

   SApplicationArgument Argument;
   Argument.ExecutablePath=argv[0];
   Argument.FallBackFont=Argument.ExecutablePath.Parent()/U"Content"/U"WidgetTester"/U"Fonts"/U"SourceHanSansHWSC-Bold.otf";
   Argument.DefaultFont=Argument.FallBackFont;
   App->Initialize(Argument);
   //App->EnablePrintFPS();

   WH::ShowMessageBox(U"测试",U"测试消息");
   assert(false&&"this is a assert");

  return App->Run();
}

